﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="testb.aspx.cs" Inherits="HuaProject.Web.testb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="Scripts/jquery-1.6.3.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        function text() {
            $.ajax({
                type: "POST",
                url: "testb.aspx",
                data: { id: 1 },
                success: function (msg) {
                    alert("Data Saved: " + msg);
                    return false;
                }
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="frm1" runat="server">
    <input type="button" value="sfsdff" onclick="text();" />
    </form>
</asp:Content>
